//
//  focusModel.m
//  觅影
//
//  Created by Zeus on 16/4/11.
//  Copyright © 2016年  陶虹. All rights reserved.
//

#import "focusModel.h"

@implementation focusModel
- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}
+ (NSMutableArray *)modelConfigureJsonDic:(NSMutableDictionary *)jsonDic1 jsonDic2:(NSMutableDictionary *)jsonDic2
{
    NSMutableArray *result1Array = jsonDic1[@"result"];
    NSMutableArray *modelArray = [NSMutableArray array];
    for (NSMutableDictionary *result1dic in result1Array) {
        focusModel *model = [[focusModel alloc]init];
        [model setValuesForKeysWithDictionary:result1dic];
        [model setValue:result1dic[@"id"] forKey:@"peopleId"];
        [modelArray addObject:model];
    }
    NSMutableArray *result2Array = jsonDic2[@"result"];
    for (NSMutableDictionary *result2dic in result2Array) {
        focusModel *model = [[focusModel alloc]init];
        [model setValuesForKeysWithDictionary:result2dic];
        [model setValue:result2dic[@"id"] forKey:@"peopleId"];
        [modelArray addObject:model];
    }
    return modelArray;
}
@end
